﻿using STHPMS1.ICore.I_DAL;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_Serv
{
    public interface IDeflectionCalculateService : IService
    {
        /// <summary>
        /// 计算各代表车型的弯沉值
        /// </summary>
        /// <param name="dao"></param>
        void CalacDeflection(ISthpms1Dao dao);
        /// <summary>
        /// 计算日平均单量轴次
        /// </summary>
        /// <param name="trfList">路段日交通量数据</param>
        /// <returns></returns>
        double CalcDailyEASL(IS_Trfvolsurvey trf, IS_Axleload axle);
        /// <summary>
        /// 计算当年轴载次数
        /// </summary>
        double CalcAADT(double deflection, double lanecoef, double directcoef);
        /// <summary>
        /// 计算设计年限内累计轴载次数
        /// </summary>
        double CalcDesginerEASL(double aadt, double desgineryear, double growthrate);
    }
}
